package dao;

import pojo.Address;

import java.util.List;

public interface AddressDao {
    public List<Address> selectAll(int userId);

    public void deleteAddress(int id);

    public void updateAddress(Address address);

    public void setDefault(int userId);

    public void setNewDefault(int id,int userId);

    public void addAddress(Address address);

}
